package com.zhengqing.design.action.memento._01;

/**
 * <p> 包含了要被恢复的对象的状态 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2022/12/22 11:20
 */
public class Memento {
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return this.state;
    }
}